#encoding:UTF-8

'''
Created on Mar 3, 2014

@author: Wu Botao
'''
class A(object):
    
    def __init__(self):
        print 'A__init__'
        
        

class B(A):
    
    def __init__(self):
        super(A, self).__init__()
        print 'B__init__'
        
        
        
class P(object):
    def __init__(self):
        print "calling P's constructor"
        
        
class C(P):
        
    def __init__(self):
        super(C, self).__init__()
        print "calling C's constructor"
    

C()

